package com.javasea.patterns.strategy.base;

public class Stock {

    // 股票交易代码
    private String code;

    // 现价
    private Double price;

    // 涨幅
    private Double rise;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getRise() {
        return rise;
    }

    public void setRise(Double rise) {
        this.rise = rise;
    }
}
